package com.xueyi.operations.mapper;

import com.xueyi.operations.domain.query.OpMakerInfoQuery;
import com.xueyi.operations.domain.dto.OpMakerInfoDto;
import com.xueyi.operations.domain.po.OpMakerInfoPo;
import com.xueyi.common.web.entity.mapper.BaseMapper;
import com.xueyi.common.datasource.annotation.Isolate;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 厂商信息管理 数据层
 *
 * @author lwb
 */
@Isolate
public interface OpMakerInfoMapper extends BaseMapper<OpMakerInfoQuery, OpMakerInfoDto, OpMakerInfoPo> {

//    @Select({
//            "<script>",
//            "SELECT maker_name FROM `op_maker_info`",
//            "<where>",
//            "<if test= \"makerName!=null and makerName!='' \">",
//            " and maker_name=${makerName}",
//            "</if>",
//            "</where>",
//            "</script>"
//    })
    List<OpMakerInfoPo> selectMyList(OpMakerInfoQuery queryEntity);

}
